# -*- mode: python ; coding: utf-8 -*-
import logging

# 设置日志级别为 WARNING
logging.basicConfig(level=logging.WARNING)

block_cipher = None


a = Analysis(
    ['/Users/gdlocal/tester_method/tester_method/testerMethod.py'],
    pathex=["/Users/gdlocal/tester_method/tester_method"],
    binaries=[],
    datas=[
    ],
    hiddenimports=['rpc', 'common'],
    hookspath=[],
    hooksconfig={},
    runtime_hooks=[],
    excludes=[],
    noarchive=True,
    optimize=0,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)

exe = EXE(
    pyz,
    a.scripts,
    a.binaries,
    a.datas,
    [('v', None, 'OPTION')],
    name='main',
    debug=True,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    upx_exclude=[],
    runtime_tmpdir=None,
    console=False,
    disable_windowed_traceback=False,
    argv_emulation=False,
    target_arch=None,
    codesign_identity=None,
    entitlements_file=None,
    icon=['/Users/gdlocal/tester_method/static/1.ico'],
)
app = BUNDLE(
    exe,
    name='多通道rpc调试工具.app',
    icon='/Users/gdlocal/tester_method/static/1.ico',
    bundle_identifier=None,
    version='2.5'  # 添加版本号
)
